package com.cdu.ai_intelligent_teaching_and_training_system.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
public class Feedback {
    private Long feedbackId;
    
    private Long studentId; // 关联Student表的外键
    
    private Long courseId; // 关联Course表的外键
    
    @NotBlank(message = "反馈内容不能为空")
    private String content;
    
    private LocalDateTime createdTime;
} 